﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Things.Bar.Models;
using Things.Bar;

namespace Things.Web.GoodBar
{
    public partial class UC_NoticeTypeList : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            List<NoticeType> types = new NoticeTypeRepository().FindAll();
            DataList1.DataSource = types;
            DataList1.DataBind();
        }
    }
}